package com.ws.haungjia.mapper;

import com.ws.haungjia.Bean.Fushutu;
import com.ws.haungjia.Bean.luxian;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface QianhouMapper {

    @Select("select * from luyou where PackageID = #{id} ")
    luxian qianhou(int id);

    @Select("select * from  fushutu where PackageID = #{id} ")
    List<Fushutu> tupian(int id);

    @Select("select * from luyou where Fid = #{fid} ")
    List<luxian> chafenlie(int fid);
}
